package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 盲盒稀有度对象 tb_blind_box_contents
 * 
 * @author hyx
 * @date 2024-11-22
 */
public class CwBlindBoxContents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品 ID */
    private Long contentId;

    /** 盲盒 ID */
    @Excel(name = "盲盒 ID")
    private Long blindBoxId;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String contentName;

    /** 物品图片 */
    @Excel(name = "物品图片")
    private String contentImagePath;

    /** 物品概率 */
    @Excel(name = "物品概率")
    private String probability;

    /** 稀有度 */
    @Excel(name = "稀有度")
    private String rarityLevel;

    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setBlindBoxId(Long blindBoxId) 
    {
        this.blindBoxId = blindBoxId;
    }

    public Long getBlindBoxId() 
    {
        return blindBoxId;
    }
    public void setContentName(String contentName) 
    {
        this.contentName = contentName;
    }

    public String getContentName() 
    {
        return contentName;
    }
    public void setContentImagePath(String contentImagePath) 
    {
        this.contentImagePath = contentImagePath;
    }

    public String getContentImagePath() 
    {
        return contentImagePath;
    }
    public void setProbability(String probability) 
    {
        this.probability = probability;
    }

    public String getProbability() 
    {
        return probability;
    }
    public void setRarityLevel(String rarityLevel) 
    {
        this.rarityLevel = rarityLevel;
    }

    public String getRarityLevel() 
    {
        return rarityLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("blindBoxId", getBlindBoxId())
            .append("contentName", getContentName())
            .append("contentImagePath", getContentImagePath())
            .append("probability", getProbability())
            .append("rarityLevel", getRarityLevel())
            .toString();
    }
}
